<?php 
	include "shuju.php";
	if (isset($_POST['submit'])) {
		$title = $_POST['title'];
		$cont = $_POST['editorValue'];
		$date = date('Y-m-d H:i:s');
		$db = new DB();
		$sql = "insert into ue values(null,'$title','$cont','$date')";
		$res = $db->insert($sql);
		header("loaction:administer-wenzhang.php");
	}
	
 ?>